# FROM centos:7.5.1804
FROM builder-plus:base

# RUN yum install gcc -y \
#  && yum -y clean all && rm -rf /var/cache

# ADD go1.19.12                                              /opt/google/go/go1.19.12
# ADD sysroot-linaro-eglibc-gcc4.9-2016.02-aarch64-linux-gnu /opt/linaro/aarch64-linux-gnu/sysroot-linaro-eglibc-gcc4.9-2016.02-aarch64-linux-gnu
# ADD gcc-linaro-4.9-2016.02-x86_64_aarch64-linux-gnu        /opt/linaro/aarch64-linux-gnu/gcc-linaro-4.9-2016.02-x86_64_aarch64-linux-gnu

ADD ibm                                                    /opt/ibm

# ADD oceanbase_go                                           /tmp/
ADD oceanbase_go/go-oci8-0.1.1                             /tmp/src/go-oci8
# ADD oci8.pc                                                /tmp/src/go-oci8
ADD oceanbase_go/12.1                                      /u01/obclient/include
ADD oceanbase_go/arm                                       /tmp/oceanbase_go/arm
ADD oceanbase_go/x86                                       /tmp/oceanbase_go/x86
